package com.qutan.app.core.repository;

import com.qutan.app.core.domain.Scene;
import com.qutan.app.core.domain.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by pwy on 16/5/15
 */
@Repository
public interface SceneRepository extends JpaRepository<Scene, Long>, JpaSpecificationExecutor {
    Scene findByuserId(long userId);
}